Reduce roundtrips
authorMatthias Clasen <mclasen@redhat.com>
Sat, 20 Jun 2009 17:54:33 +0000 (13:54 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 20 Jun 2009 20:34:54 +0000 (16:34 -0400)
commit0f00d3fdb084eac236072361df19e030d390ea9b
tree5e32081613a24d5f6916974b04256083729718b4
parent374aa049545516f1fd4dcdf43325fb992400129d
Reduce roundtrips

Setting a tooltip on a widget unfortunately triggers several roundtrips
to the X server. We reduce this overhead by only doing it if the
widget is visible, and by deferring to an idle. See bug 585626.
gtk/gtkwidget.c